{% include header-fixedtop.html %}
{% assign t = site.guides %}

<!-- GUIDES -->
<div id="background-container">
    <div id="guides-container" class="container-fluid">

        <div class="row">

            <div class="col-lg-12">
                {% assign date_format = site.minima.date_format | default: "%b %-d, %Y" %}
                {% assign count = 1 %}
                {% for post in site.guides reversed %}

                <div class="row guides-post-row">
                    <div class="media">
                        <img src="{{ post.icon }}" class="guide-image">
                        <div class="media-body">
                            <h5 class="mt-0">
                                <a href="{{ post.url | relative_url }}" class="guides-post-title-link">
                                    {{ post.summary_title | escape }}
                                </a>
                            </h5>
                            <p>
                                {% if post.description %}
                                {{ post.description }}
                                {% else %}
                                {{ post.content | strip_html | truncatewords: 60 }}
                                {% endif %}
                            </p>
                            <h5 class="guides-objective-header">Objectives</h5>
                            <ul class="guides-objective-list">
                                {% for objective in post.objectives %}
                                    <li class="objective-item">{{ objective }}</li> 
                                {% endfor %}
                            </ul>
                            
                        </div>
                    </div>
                </div>
                {% assign count = count | plus: 1 %}
                {% endfor %}

            </div>
        </div>

    </div>
</div>

{% include footer.html %}

{% include body-end.html %}